public class Interface {
    public static void main(String[] args) {
        System.out.println(E.name);
        E e= new F();
        e.fun();

        M m = new F();
        m.m();
    }
}
interface E{
    String name = "lisi";
    void fun();
}
class F implements E,M{
    @Override
    public void fun() {
        System.out.println("重写fun抽象方法");
    }

    @Override
    public void m() {
        System.out.println("重写m抽象方法");
    }
}
interface M{
    void m();
}